class_name FallState

extends IState




    
#退出方法
func exit() -> void:
	pass
    

#逻辑更新
func logic_update(_delta: float) -> void:
	characterCtr.character_horizontal_move(_delta, 0.8)
	if characterCtr.character_on_ground():
		stateMachine.switch_character_state(StateMachine.CharacterStates.IDEL)
    

#物理更新
func physics_update(_delta: float) -> void:
	pass
    

func get_type() -> StateMachine.CharacterStates:
	return StateMachine.CharacterStates.FALL


func get_anm_name() -> String:
	return "Fall"